<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/WEB-INF/jsp/commons/taglibs.jsp" %>
<!DOCTYPE HTML>
<html ng-app>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <META HTTP-EQUIV="pragma" CONTENT="no-cache">
    <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
    <META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT">
    <title>${title}</title>
    <%@ include file="/WEB-INF/jsp/commons/meta.jsp" %>
    <link href="${ctx}/resources/new/style.css" type="text/css" rel="stylesheet"/>

</head>
<body>
<style>
    .mDetail div {
        float: left;
        display: block;
        width: 30%;
    }

    .mDetail div > span:FIRST-CHILD {
        color: #0088cc;
        display: inline-block;
        width: 65px;
    }
</style>
<c:set var="m" value="${goods.marchandise }"></c:set>
<div class="mDetail">
    <div>
        <span>商品名称：</span>
        <span>${m.name }</span>
    </div>
    <div>
        <span>品牌：</span>
        <span>${m.brand.name }</span>
    </div>
    <div>
        <span>状态：</span>
        <span>${goods.state}</span>
    </div>
    <div>
        <span>流水码：</span>
        <span>${goods.qrCode.wCode}</span>
    </div>
    <div>
        <span>积分码：</span>
        <span class="tRed">${goods.qrCode.iCode}</span>
    </div>
    <div>
        <span>商品编号：</span>
        <span>${m.code }</span>
    </div>
    <div>
        <span>单价：</span>
        <span class="tBlue">￥${m.price } 元</span>
    </div>
    <div>
        <span>商品条码：</span>
        <span>${m.barCode }</span>
    </div>
    <div>
        <span>产地：</span>
        <span>${m.producePlace }</span>
    </div>
    <div>
        <span>生产日期：</span>
        <span>${goods.produceDate }</span>
    </div>
    <div>
        <span>保质期：</span>
        <span>${m.shelflife } 月</span>
    </div>
    <div>
        <span>商品描述：</span>
        <span>${m.description }</span>
    </div>
</div>
<input type="hidden" name="mName" value="${goods.marchandise.name }"/>
<input type="hidden" name="mPrice" value="${goods.marchandise.price }"/>
<input type="hidden" name="goodsId" value="${goods.id }"/>
<input type="hidden" name="boxId" value="${box.id }"/>
</body>
</html>